using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BlogDemo.Common
{
    /// <summary>
    /// 领域实体接口
    /// </summary>
    public interface ISoftDleteEntity<TKey> : ISoftDleteEntity, IEntity<TKey>
        where TKey : IComparable<TKey>
    {

    }

    /// <summary>
    /// 领域实体接口
    /// </summary>
    public interface ISoftDleteEntity : IEntity
    {
        bool IsDeleted { get; set; }
        //DateTimeOffset DeletionTime { get; set; }


        //DateTimeOffset CreationTime { get; set; }
        //string CreatorId { get; set; }

        //DateTimeOffset LastModificationTime { get; set; }
        //string LastModifierId { get; set; }

        //bool IsSoftDelete { get; set; }
        //bool IsCreateAudit { get; set; }
        //bool IsUpdateAudit { get; set; }
    }
}
